﻿namespace Blaze.Editor
{
    using UnityEngine;

    /// <summary>
    /// 编辑器皮肤管理。
    /// </summary>
    internal static class GUISkinManager
    {
        /// <summary>
        /// 获取当前编辑器皮肤。
        /// </summary>
        public static GUISkin Skin
        {
            get
            {
                if (mSkin == null)
                    mSkin = BlazeEditorResources.Load<GUISkin>("GUISkins/Blaze_LightSkin.guiskin");
                return mSkin;
            }
        }

        private static GUISkin mSkin;
    }
}